/*
 * Powered By [pkuWx]
 * Web Site: http://www.wuxi.ss.pku.edu.cn
 * Since 2015 - 2015
 */

package cn.edu.pku.wxlib.userborrowtype.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.pku.wxlib.userborrowtype.dao.UserborrowtypeDao;
import cn.edu.pku.wxlib.userborrowtype.model.Userborrowtype;
import cn.edu.pku.wxlib.userborrowtype.vo.query.UserborrowtypeQuery;
import javacommon.base.BaseManager;
import javacommon.base.EntityDao;
import javacommon.page.Page;

/**
 * @version 1.0
 * @since 1.0
 */

@Service
@Transactional
public class UserborrowtypeManager extends BaseManager<Userborrowtype,UserborrowtypeQuery,java.lang.Integer> implements UserborrowtypeService{
	
	@Autowired
	private UserborrowtypeDao userborrowtypeDao;
	public void setUserborrowtypeDao(UserborrowtypeDao dao) {
		this.userborrowtypeDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.userborrowtypeDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(UserborrowtypeQuery query) {
		return userborrowtypeDao.findPage(query);
	}
	
}
